package com.bosssoft.user.permission.center.serve.dao.entity;


import common.data.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

/**
 * 角色信息存储类
 * @author lanyukai
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "basic_role")
public class BasicRole extends BaseEntity {
    /**
     * 角色id
     */
    private Long id;
    /**
     * 角色名
     */
    private String name;
    /**
     * 工号
     */
    private String code;

    /**
     * 标记
     */
    private String remark;

    /**
     * 租户id
     */
    private Long tenantId;

    /**
     * 组织机构id
     */
    private Long orgId;

    /**
     * 公司id
     */
    private Long companyId;

}